<!doctype html>
<html lang="zh-CN">

<head>
{include file="home_template/mz_static" title="$title" keywords="$site_info.site_seo_keywords" description="$site_info.site_seo_description" /}
</head>

<body class="user-select single" style="overflow:hidden;">

{include file="mz_blog/header" /}

<section class="container">
<div class="content-wrap">
<div class="content">





{if $article.editor_type === 'mavoneditor'}
<!-- **************************************** MavonEditor类型文章 **************************************** -->
<link rel="stylesheet" href="__MAINASSETS__/markdown/github-markdown.min.css">
<link rel="stylesheet" href="__MAINASSETS__/highlight.js-9.12.0/styles/{$article.code_style}.min.css">
<style>
.markdown-body .highlight pre, .markdown-body pre {
    padding: 0px;
}
.markdown-body p {
  text-indent: 0 !important;
}
</style>

<header class="article-header">
  <h1 class="article-title"><a>{$article.title}</a></h1>
  <div class="article-meta">
    <span class="item article-meta-time">
      <time class="time" data-toggle="tooltip" data-placement="bottom" title="时间：{$article.update_time|date='Y-m-d H:i'}">
        <i class="glyphicon glyphicon-time"></i> {$article.publish_time | date='Y-m-d H:i'}
      </time>
    </span>
    <span class="item article-meta-source" data-toggle="tooltip" data-placement="bottom" title="作者：{$article.operator}">
      <i class="glyphicon glyphicon-user"></i> {$article.operator}
    </span>
    <span class="item article-meta-category" data-toggle="tooltip" data-placement="bottom" title="栏目：{$article.category}">
      <i class="glyphicon glyphicon-list"></i> <a href="program" title="{$article.category}">{$article.category}</a>
    </span>
    <span class="item article-meta-views" data-toggle="tooltip" data-placement="bottom" title="查看：{$article.pageviews|floor}">
      <i class="glyphicon glyphicon-eye-open"></i> 共{$article.pageviews|floor}人围观
    </span>
    <span class="item article-meta-comment" data-toggle="tooltip" data-placement="bottom" title="评论：{$article.comments|floor}">
      <i class="glyphicon glyphicon-comment"></i> {$article.comments|floor}个不明物体
    </span>
    {if isset($user['limit']) && in_array('Q64', explode(',',$user['limit']))}
    <span class="item article-meta-views">
      <i class="glyphicon glyphicon-eye-open"></i> <a href="{:url('article/article_pageviews',array('aid'=>$article['akey']))}" target="_blank">编辑</a>
    </span>
    <span class="item article-meta-views">
        <i class="glyphicon glyphicon-eye-open"></i> <a href="{:url('article/article_pageviews',array('aid'=>$article['akey']))}" target="_blank">操作日志</a>
    </span>
    <span class="item article-meta-views">
        <i class="glyphicon glyphicon-eye-open"></i> <a href="{:url('article/article_pageviews',array('aid'=>$article['akey']))}" target="_blank">访问日志</a>
    </span>
    {/if}
  </div>
</header>

<article class="markdown-body article-content" style="margin-bottom:30px;">

{$article.content_html|raw}

</article>
<!-- **************************************** MavonEditor类型文章 **************************************** -->
{/if}




{if condition="0"}
{//***************文章点赞赏与分享***************}
<!-- <article class="article-content">
<link href="__CBTCSS__/social-share.js/1.0.16/css/share.min.css" rel="stylesheet">
<script src="__CBTCSS__/social-share.js/1.0.16/js/jquery.share.min.js"></script>
<div class="admired">
<div class="admired_div">
  <div class="praise"><i class="fa fa-heart-o"></i>喜欢(<span id="like_num">3</span>)</div>
  <div class="enjoy">
    <div class="pay_show slidebottoms">
      <div class="ps_con">
          <div class="ps_code">
              <img src="https://www.liangjucai.com/wx_skm.png">
          </div>
          <div class="ps_tab">
              <a data-type="2" class="active">微信</a>
              <a data-type="1">支付宝</a>
          </div>
          <span class="triangle"></span>
      </div>
    </div>
    赏
  </div>
  <div class="share">
    <div class="fx_show slidebottoms">
        <div class="ps_con" style="width:100%;">
            <div class='row' id="share-2"></div>
            <span class="triangle"></span>
        </div>
    </div>
    <i class="fa fa-share-alt"></i>分享
  </div>
</div>
</div>
<script>
$(document).ready(function(e){
  $('#share-2').share({sites: ['qzone', 'qq', 'weibo','wechat']});
});
$(".ps_tab a").click(function () {
  $(".ps_tab a").removeClass('active');
  $(this).addClass('active');
  if($(this).attr('data-type')==1){
      $(".ps_code img").attr('src',"https://www.liangjucai.com/zfb_skm.png");
  }else{
      $(".ps_code img").attr('src',"https://www.liangjucai.com/wx_skm.png");
  }
});
$(".praise").click(function(){
  $.post("https://www.liangjucai.com/articleLike",{'id':"112"},function(res){
      if(res.code == 200){
          layer.msg('大爷:) 点赞成功~',{time:1200});
          $("#like_num").html(parseInt($("#like_num").html())+1);
      }else{
          layer.msg('大爷:(  '+res.message,{time:1200});
      }
  },'json');
});
</script>
</article> -->
{//***************文章点赞赏与分享***************}
{/if}

<article class="article-content">
<div class="art_page">
  <div class="art_page_prev">
    <a title="{$prev.title|default='没有了'}" href="{notempty name='$prev.akey'}/{$prev.akey}{else /}#{/notempty}" >上一篇：{$prev.title|default='没有了'}</a>
  </div>
  <div class="art_page_next">
    <a title="{$next.title|default='没有了'}" href="{notempty name='$next.akey'}/{$next.akey}{else /}#{/notempty}" >下一篇：{$next.title|default='没有了'}</a>
  </div>
</div>
<p class="article-copyright hidden-xs">自由转载请标明出处<a href="/">《梦幻空间博客》</a>，本文网址 » <a href="/{$article.akey}">https:/www.soyul.cn/{$article.akey}</a></p>
</article>

<div class="relates">
  <div class="title">
    <h3>好文推荐</h3>
  </div>
  <ul>
    {foreach name="abouts" item="vol" }
      <li><a href="/{$vol.akey}">{$vol.title}</a></li>
    {/foreach}
  </ul>
</div>


{include file="mz_blog/component_comment" /}



</div>
</div>

<aside class="sidebar">

  {include file="mz_blog/component_aside_fixed" /}

  <!-- ********** 每日一句 ********** -->
  <div class="widget widget_sentence">
      <h3>每日一句</h3>
      <div class="widget-sentence-content" style="min-height:100px;">
      <h4>{$erysts.dt}</h4>
      <p>{$erysts.co|raw}</p>
      </div>
  </div>
  <!-- ********** 热门文章 ********** -->
  <div class="widget widget_hot">
      <h3>热门文章</h3>
      <ul>
      {foreach name="hotacl" item="vol" key="k" }
      <li>
          <a href="/{$vol.akey}" target="_blank">
          <span class="thumbnail"><img class="thumb" data-original="{$vol.cover_img1|default='__MZBLOG__/images/excerpt.jpg'}"
              src="{$vol.cover_img1|default='__MZBLOG__/images/excerpt.jpg'}" alt="{$vol.title}"></span>
          <span class="text">{$vol.title}</span>
          <span class="muted"><i class="glyphicon glyphicon-time"></i> {$vol.update_time|date='Y-m-d'}</span>
          <span class="muted"><i class="glyphicon glyphicon-eye-open"></i> {$vol.pageviews|floor}</span>
          </a>
      </li>
      {/foreach}
      </ul>
  </div>
</aside>

</section>

{include file="mz_blog/footer" /}


<!-- ***** QQ分享组件 ***** -->
<script src="__MAINASSETS__/qqFace/jquery.qqFace.js"></script>
<script>
$(document).ready(function(e){
  $('.sss').qqFace({
      id: 'facebox',
      assign: 'comment-textarea',
      path: '__MAINASSETS__/qqFace/images/'  //表情存放的路径
  });
});
</script>
<!-- ***** QQ分享组件 ***** -->
</body>
</html>

<script src="__MAINASSETS__/mz_blog/js/bootstrap.min.js"></script> 
<script src="__MAINASSETS__/mz_blog/js/jquery.ias.js"></script> 
<script src="__MAINASSETS__/mz_blog/js/scripts.js"></script>

{notempty name="isProhibit"}
  {include file="mz_blog/component_prohibit_copy" /}
{/notempty}

{include file="mz_blog/component_message" /}

{include file="mz_blog/component_addlink" /}
